package org.msfj.authority.server;

import org.msfj.authority.client.EnableAuthorityClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients("org.msfj.*.feign")
@ComponentScan(basePackages = "org.msfj")
@EnableAuthorityClient
public class AuthorityServerApplication {
	public static void main(String[] args) {
		SpringApplication.run(AuthorityServerApplication.class, args);
	}
}
